i = 0
import time
while True:
    for i in range(1,10):   #进度条模拟
        print(i)
        time.sleep(1)

    if i == 10:
        print('进度条结束')
        break